package cn.itgod.utils;

import org.springframework.util.DigestUtils;
/*加密工具类*/
public class EncryptUtils {
    public static String getEncryption(String oldpassword){
        return DigestUtils.md5DigestAsHex(oldpassword.getBytes());
    }
}
